<?php

class Light_View_Helper_Url extends Light_View_Helper_Abstract
{
    /**
     * @param array $params
     * @param string $routeName
     * @param string $resetParams
     * @return string
     */
    public function url(array $params = array(), $routeName = null, $resetParams = false)
    {
        $r = $this->view->getController()->getRouter();

        return $r->assemble($params, $routeName, $resetParams);
    }
}